package controllers;

import java.util.List;

import models.Department;
import play.mvc.Controller;
import play.mvc.Result;
import business.DepartmentBusiness;

public class DepartmentController extends Controller {
	public static Result index(int page){
		DepartmentBusiness departmentBusiness = new DepartmentBusiness();
		List<Department> departmentList = departmentBusiness.selectList(page);
		System.out.println(departmentList);
		return null;
	}
	
	public static Result create(){
		return null;
	}
	
	public static Result update(){
		return null;
	}
	
	public static Result delete(){
		return null;
	}
}
